package com.sunrate.investingquote.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者
 * @since 2023-06-15 14:57:27
 */
@Data
@TableName("qt_srcrate")
public class Srcrate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报价源ID,0000:Xignite
     */
    @TableId(value = "src_id", type = IdType.ASSIGN_ID)

    private String srcId;

    /**
     * 产品ID,USDJPY
     */
//    @TableId(value = "prd_id", type = IdType.ASSIGN_ID)
    private String prdId;

    /**
     * 报价源买入价
     */
    private BigDecimal srcBid;

    /**
     * 报价源中间价
     */
    private BigDecimal srcMid;

    /**
     * 报价源卖出价
     */
    private BigDecimal srcAsk;

    /**
     * 报价源Spread
     */
    private BigDecimal srcSpread;

    /**
     * 报价源时间
     */
    private LocalDateTime srcDatetime;

    /**
     * 更新时间
     */
    private LocalDateTime lastDatetime;


}
